package com.data.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.vo.MessageLogVo;
import com.data.core.entry.MessageLog;


/**
* @version: V1.0
* @author: szw
* @className: MessageLogService
* @packageName: MessageLogService
* @description: 发送消息相关接口
* @data: 2021-1-27
**/ 
public interface MessageLogService extends IService<MessageLog> {

    /**
     *  发送消息记录接口
     * @param dictDataVo
     * @return
     */
    int save(MessageLogVo dictDataVo)throws Exception;

    /**
     * 更新发送消息状态
     * @param dictDataVo
     * @return
     */
    int update(MessageLogVo dictDataVo)throws Exception;

    /**
     * 查询发送失败的消息
     * @param dictDataVo
     * @return
     * @throws Exception
     */
    String findFailureMes(MessageLogVo dictDataVo)throws Exception;
}
